package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.RestaurantCustomer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/8/11
 **/
public interface RestaurantCustomerMapper {
    public RestaurantCustomer selectRestaurantCustomer(RestaurantCustomer customer);

    public List<RestaurantCustomer> selectRestaurantCustomerList(RestaurantCustomer customer);

    public RestaurantCustomer selectRestaurantCustomerById(Long id);

    public RestaurantCustomer selectNormalCustomerById(Long id);

    public RestaurantCustomer selectCustomerByUserId(String customerId);

    public RestaurantCustomer selectInnerCustomerById(Long id);

    public int insertRestaurantCustomer(RestaurantCustomer customer);

    public int updateRestaurantCustomer(RestaurantCustomer customer);

    public int updateRestaurantCustomerByUserId(RestaurantCustomer customer);

    public int deleteRestaurantCustomerById(Long id);

    public int deleteRestaurantCustomerByIds(@Param("ids") List<Long> ids);
}
